package org.example;
import org.springframework.context.annotation.*;

@Configuration //代表他是一个配置类将,替换applicationContext.xml
@ComponentScan("org.example") //在配置类上添加包扫描注解
@PropertySource({"jdbc.properties"})
@Import({JdbcConfig.class, MybatisConfig.class})
public class SpringConfig {
}
